CC = g++
CFLAGS = -std=c++14  -Wno-write-strings -g
TARGET = main
LINK = -L. -lpbc -lgmp -lgmpxx -I /usr/local/include/pbc

objects = main.cc utils.cc ../pbcxx.cc ../sha256.cc ../zuc.cc 

all : $(objects)
	$(CC) $(CFLAGS) $(objects) -o ./$(TARGET) $(LINK) > error.log 2>&1	

.PHONY : clean
clean :
	-rm ./main
